print("12&8 = " +str(12&8))
print("4|8 = " +str(4|8))
print("31^22 = " +str(31^22))
print("~123 = " +str(~123))